<{include file="dcenter/block/header.html"}>
<div style="width:923px;padding:12px;margin:0 auto;">
    <div class="index_rt_top">
        <a href="<{link ctl='dcenter/member:index'}>" class="lt"><img src="<{$pager.img}>/<{$MEMBER.face}>" width="120" height="120"/></a>
        <div class="shop_top_lt lt">
            <p class="title"><{$MEMBER.uname}></p>
            <p>帐户类型： <{$MEMBER.from_title}></p>
            <p>邮箱地址：<a href="<{link ctl='dcenter/member/verify:mail'}>"><{$MEMBER.mail}></a><{if $MEMBER.verify_mail}>[已认证]<{else}>[未认证]<{/if}></p>
            <p>手机号码：<a href="<{link ctl='dcenter/member/verify:mobile'}>"><{$MEMBER.mobile|default:'--'}></a><{if $MEMBER.mobile}><{if $MEMBER.verify_mobile}>[已认证]<{else}>[未认证]<{/if}><{/if}></p>
        </div>
        <div class="shop_top_rt personal_top_rt rt">
            <p>注册时间：<{$MEMBER.dateline|format}></p>
            <p>最后登录：<{$MEMBER.lastlogin|format}></p>
            <p>登录地点：<font class="green"><{$MEMBER.loginip|cutstr:6:"******"}></font>(<{$MEMBER.loginip|iplocal}>)</p>
        </div>
    </div>
    
	<div class="index_all" id='container'> </div>
	<div class="index_all" id='container2'> </div>
    <div class="index_cont_lt lt">
       
        <div class="index_c_lt">
            <p class="title"><font class="index_c_lt_icon3 facil_index_c_lt_icon3"></font>财务信息</p>
            <p class="txt">我的金币余额：<font class="orange"><{$MEMBER.gold}></font></p>
            <p><a href="<{link ctl='dcenter/member:gold'}>" class="green">在线充值 </a><a href="<{link ctl='dcenter/member:logs'}>" class="green">收支明细</a></p>
        </div>
    </div>
    <div class="index_cont_rt rt">
        <div class="index_c_rt">
            <p class="title"><font class="index_c_rt_icon1 facil_index_c_lt_icon1"></font>公告</p>
            <p class="txt"><{$CONFIG.bulletin.member}></p>
        </div>
        <div class="index_c_rt">
            <p class="title"><font class="index_c_rt_icon2 facil_index_c_lt_icon2"></font>平台联系方式</p>
            <p class="txt">客服电话: <font class="green"><{$CONFIG.site.phone}></font></p>
            <p>服务时间:9:00-18:00(周一至周日)</p>
        </div>
    </div>
 </div>
 <script src="<{$pager.res}>/highcharts/highcharts.js"></script> 
<script src="<{$pager.res}>/highcharts/modules/exporting.js"></script> 
<script type="text/javascript">
$(function () {
    $('#container').highcharts({
       
        title: {
            text: '我的预约'
        },
        subtitle: {
            text: '统计时间:<{$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"}>'
        },
        xAxis: {
            categories: [<{foreach $data as $k=>$d name=d}>"<{$k}>"<{if !$smarty.foreach.d.last}>,<{/if}><{/foreach}>],
            crosshair: true
        },
        credits: {
            enabled: false
        },
        yAxis: {
            min: 0,
            //tickInterval: 10,
            title: {
                text: '七日数据分析'
            }
        },
        tooltip: {
            headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
            pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                '<td style="padding:0"><b>{point.y:.1f}</b></td></tr>',
            footerFormat: '</table>',
            shared: true,
            useHTML: true
        },
        plotOptions: {
            column: {
                pointPadding: 0.2,
                borderWidth: 0,
            }
        },
        series: [{
            name: '预约公司',
            data: [<{foreach $data as $d name=d1}><{$d['company']}><{if !$smarty.foreach.d1.last}>,<{/if}><{/foreach}>]
        }, {
            name: '预约设计师',
            data:  [<{foreach $data as $d name=d2}><{$d['designer']}><{if !$smarty.foreach.d2.last}>,<{/if}><{/foreach}>]
        }, {
            name: '预约技工',
            data:  [<{foreach $data as $d name=d3}><{$d['mechanic']}><{if !$smarty.foreach.d3.last}>,<{/if}><{/foreach}>]
        }, {
            name: '预约商铺',
            data:  [<{foreach $data as $d name=d3}><{$d['shop']}><{if !$smarty.foreach.d3.last}>,<{/if}><{/foreach}>]
        }, {
            name: '招标',
            data:  [<{foreach $data as $d name=d4}><{$d['tenders']}><{if !$smarty.foreach.d4.last}>,<{/if}><{/foreach}>]
        }]
    });
});
		</script> 
<script type="text/javascript">
$(function () {
    $('#container2').highcharts({
       
        title: {
            text: '我的订单'
        },
        subtitle: {
            text: '统计时间:<{$smarty.now|date_format:"%Y-%m-%d %H:%M:%S"}>'
        },
        xAxis: {
            categories: [<{foreach $data as $k=>$d name=d}>"<{$k}>"<{if !$smarty.foreach.d.last}>,<{/if}><{/foreach}>],
            crosshair: true
        },
        credits: {
            enabled: false
        },
        yAxis: {
            min: 0,
            //tickInterval: 10,
            title: {
                text: '七日数据分析'
            }
        },
        tooltip: {
            headerFormat: '<span style="font-size:10px">{point.key}</span><table>',
            pointFormat: '<tr><td style="color:{series.color};padding:0">{series.name}: </td>' +
                '<td style="padding:0"><b>{point.y:.1f}</b></td></tr>',
            footerFormat: '</table>',
            shared: true,
            useHTML: true
        },
        plotOptions: {
            column: {
                pointPadding: 0.2,
                borderWidth: 0,
            }
        },
        series: [{
            name: '新订单',
            data: [<{foreach $data2 as $d name=d1}><{$d['new']}><{if !$smarty.foreach.d1.last}>,<{/if}><{/foreach}>]
        }, {
            name: '待收货',
            data:  [<{foreach $data2 as $d name=d2}><{$d['unship']}><{if !$smarty.foreach.d2.last}>,<{/if}><{/foreach}>]
        }, {
            name: '待付款',
            data:  [<{foreach $data2 as $d name=d4}><{$d['unpay']}><{if !$smarty.foreach.d4.last}>,<{/if}><{/foreach}>]
        }]
    });
});
		</script> 
<{include file="dcenter/block/footer.html"}>